
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
@bdt-component-library/typography
Advanced tools
This is a component published as its own package from our component library monorepo: https://github.com/BenefitsDataTrust/ui-components. Setup instructions, as well as higher-level goals and concerns can be found from the main project README.
Handles display of text according to typography style guide conventions.
prop | type | required | default | explanation |
---|---|---|---|---|
display | enum("default", "light", "white") | no | "default" | Changes the foreground/background color mode |
children | React node | yes | n/a | The text to display |
className | string | no | n/a | Adds an optional classname to the component |
id | string | no | n/a | Adds an optional id to the component |
variant | enum("h1", "h2", "h3", "h4", "h5", "h6", "p") | no | "p" | Changes the primary text style |
noBottomMargin | boolean | no | false | Adds optional bottom margin |
body | enum("default", "small", "smallCaps") | no | "default" | Changes text secondary styles |
FAQs
Typography component
The npm package @bdt-component-library/typography receives a total of 1 weekly downloads. As such, @bdt-component-library/typography popularity was classified as not popular.
We found that @bdt-component-library/typography demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.